/*
 * @Author: chengsl
 * @Date: 2023-01-06 16:19:54
 * @LastEditors: chengsl
 * @LastEditTime: 2023-02-15 14:09:34
 * @Description: file content
 */
import widgetMap2d from './mapOptions/widgetMap2d.js'
import widgetRingPieChart from './mapOptions/widgetRingPieChart'
import widgetBarchart from './mapOptions/widgetBarchart'
import widgetBarStackChart from './mapOptions/widgetBarStackChart'
import widgetHillChart from './mapOptions/widgetHillChart'
import widgetHorizontalBar from './mapOptions/widgetHorizontalBar'
import widgetBarCompareChart from './mapOptions/widgetBarCompareChart'
import widgetLinechart from './mapOptions/widgetLinechart'
import widgetLineStackChart from './mapOptions/widgetLineStackChart'
import widgetMoreBarLineChart from './mapOptions/widgetMoreBarLineChart'
import widgetPiechart from './mapOptions/widgetPiechart'
import widgetPieNightingaleRoseArea from './mapOptions/widgetPieNightingaleRoseArea'
import widgetNewGaugeChart from './mapOptions/widgetNewGaugeChart'
import widgetWaterBall from './mapOptions/widgetWaterBall'
import widgetPiePercentageChart from './mapOptions/widgetPiePercentageChart'
import widgetSpecialText from './mapOptions/widgetSpecialText'
import widgetGradientColorBarchart from './mapOptions/widgetGradientColorBarchart'
import widgetLineCompareChart from './mapOptions/widgetLineCompareChart'
import widgetHeatmap from './mapOptions/widgetHeatmap'
import widgetThemeRiver from './mapOptions/widgetThemeRiver'
import widgetScatter from './mapOptions/widgetScatter'
import widgetAirBubbleMap from './mapOptions/widgetAirBubbleMap'
import widgetLineMap from './mapOptions/widgetLineMap'

export const mapListData = [
	{
    code: 'widgetSpecialText',
    name: '描边动画字体',
		mapOptions: widgetSpecialText
	},
	{
		code: 'widgetMap2d',
		name: '平面地图',
		isMoreMap: true, // 是否有多地图
		mapOptions: widgetMap2d
	},
	{
		code: 'widgetAirBubbleMap',
		name: '气泡地图',
		// isMoreMap: true, // 是否有多地图
		mapOptions: widgetAirBubbleMap
	},
	{
		code: 'widgetLineMap',
		name: '飞线地图',
		isMoreMap: true, // 是否有多地图
		mapOptions: widgetLineMap
	},
	{
    code: 'widgetBarchart',
    name: '柱图',
		mapOptions: widgetBarchart
	},
	{
    code: 'widgetBarStackChart',
    name: '多组柱图',
		mapOptions: widgetBarStackChart
	},
	{
    code: 'widgetHillChart',
    name: '山形图',
		mapOptions: widgetHillChart
	},
	{
    code: 'widgetHorizontalBar',
    name: '条形图',
		mapOptions: widgetHorizontalBar
	},
	{
    code: 'widgetBarCompareChart',
    name: '双向条形图',
		mapOptions: widgetBarCompareChart
	},
	{
    code: 'widgetLinechart',
    name: '折线图',
		mapOptions: widgetLinechart
	},
	{
    code: 'widgetLineStackChart',
    name: '多组折线图',
		mapOptions: widgetLineStackChart
	},
	{
    code: 'widgetMoreBarLineChart',
    name: '柱折线组合图',
		mapOptions: widgetMoreBarLineChart
	},
	{
    code: 'widgetPiechart',
    name: '饼图',
		mapOptions: widgetPiechart
	},
	{
    code: 'widgetRingPieChart',
    name: '环饼图',
		mapOptions: widgetRingPieChart
  },
	{
    code: 'widgetPieNightingaleRoseArea',
    name: '玫瑰图',
		mapOptions: widgetPieNightingaleRoseArea
	},
	{
    code: 'widgetNewGaugeChart',
    name: '仪表盘',
		mapOptions: widgetNewGaugeChart
	},
	{
    code: 'widgetWaterBall',
    name: '水波纹图',
		mapOptions: widgetWaterBall
	},
	{
    code: 'widgetPiePercentageChart',
    name: '百分比图',
		mapOptions: widgetPiePercentageChart
	},
	{
    code: 'widgetGradientColorBarchart',
    name: '柱状图-渐变色',
		mapOptions: widgetGradientColorBarchart
	},
	{
    code: 'widgetLineCompareChart',
    name: '折线对比图',
		mapOptions: widgetLineCompareChart
	},
	{
    code: 'widgetHeatmap',
    name: '热力图',
		mapOptions: widgetHeatmap
	},
	{
    code: 'widgetThemeRiver',
    name: '主题河流图',
		mapOptions: widgetThemeRiver
	},
	{
    code: 'widgetScatter',
    name: '日历饼图',
		mapOptions: widgetScatter
	},
]

// export const mapNameListData = mapListData.map(item=>{
// 	const obj = {
// 		code: item.code,
// 		name: item.name
// 	}
// 	if(item.isMoreMap) {
// 		obj.isMoreMap = item.isMoreMap
// 	}
// 	return obj
// })
